package com.heliming.data.utils;

import java.io.Serializable;

import org.springframework.security.core.userdetails.User;

public class UserContextPojo implements Serializable {

	
	private static final long serialVersionUID = -124783380222388422L;
	private Integer expiration;	
	private String secert;	
	private String username;
	
	public UserContextPojo(User user) {
		super();
		this.username = user.getUsername();
	}
	public Integer getExpiration() {
		return expiration;
	}
	public void setExpiration(Integer expiration) {
		this.expiration = expiration;
	}
	public String getSecert() {
		return secert;
	}
	public void setSecert(String secert) {
		this.secert = secert;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	
	
}
